package org.jeecg.modules.demo.zjzx.service;

import org.jeecg.modules.demo.zjzx.entity.ZwglZjhd;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Description: 专家回答
 * @Author: jeecg-boot
 * @Date:   2023-04-20
 * @Version: V1.0
 */
public interface IZwglZjhdService extends IService<ZwglZjhd> {

  /**
   * 通过主表id查询子表数据
   *
   * @param mainId
   * @return List<ZwglZjhd>
   */
	public List<ZwglZjhd> selectByMainId(String mainId);

    @Transactional
    void mySave(ZwglZjhd zwglZjhd);
}
